﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;
using System.IO;
using ReinforcementLearning;
using log4net;
using log4net.Config;

namespace ReinforcementLearning.SimpleTest
{
    
     
    
    class Program
    {
        static void Main(string[] args)
        {

            for (int i = 1; i < 201; i++)
            {
                SimpleAgent agent = new SimpleAgent(false, i);
                while (!agent.IsToFinish)
                {
                    agent.update();
                }
            } 

            //QLearning qlearning = new QLearning(State.STATE_1_1,1,new SimpleTestWorldDescription());
            //List<Action> possibleActions = qlearning.WorldDescription.getAllPossibleActionsForTheState(qlearning.CurrentState);
            //qlearning.getBestQValueAccordingToCurrentLevel(possibleActions);
        }
    }
}
